package com.haierp.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

@TableName("erp_return_order")
public class ErpReturnOrder implements Serializable {
	@TableId(type = IdType.AUTO)
	private Long id;
	
	@TableField(value = "order_no")
	private String orderNo;
	
	@TableField(value = "outer_order_id")
	private Long outerOrderId;
	
	@TableField(value = "erp_no")
	private String erpNo;
	
	@TableField(value = "erp_order_id")
	private Long erpOrderId;
	
	private Integer status;
	
	@TableField(value = "return_reason")
	private String returnReason;
	
	@TableField(value = "return_reason_detail")
	private String returnReasonDetail;
	
	@TableField(value = "return_quantity")
	private Long returnQuantity;
	
	@TableField(value = "return_price")
	private Double returnPrice;
	
	@TableField(value = "is_gn")
	private Integer isGn;
	
	@TableField(value = "is_checkin")
	private Integer isCheckin;
	
	@TableField(value = "user_create")
	private String userCreate;
	
	@TableField(value = "user_modify")
	private String userModify;
	
	@TableField(value = "receive_time")
	private Date receiveTime;
	
	@TableField(value = "return_pay_time")
	private Date returnPayTime;
	
	private String remark;
	
	private String telephone;
	
	@TableField(value = "open_id")
	private String openId;
	
	@TableField(value = "return_refer")
	private Integer returnRefer;
	
	@TableField(value = "proof_img")
	private String proofImg;
	
	@TableField(value = "return_type")
	private Integer returnType;
	
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	
	@TableField(value = "gmt_modify")
	private Date gmtModify;
	
	@TableField(exist = false)
	private String skuCode;
	
	@TableField(exist = false)
	private String upc;
	
	@TableField(exist = false)
	private String itemName;
	
	@TableField(exist = false)
	private String skuPic;
	
	@TableField(exist = false)
	private String salesName;
	
	@TableField(value = "company_id") //所属公司
	private Long companyId;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Long getOuterOrderId() {
		return outerOrderId;
	}

	public void setOuterOrderId(Long outerOrderId) {
		this.outerOrderId = outerOrderId;
	}

	public String getErpNo() {
		return erpNo;
	}

	public void setErpNo(String erpNo) {
		this.erpNo = erpNo;
	}

	public Long getErpOrderId() {
		return erpOrderId;
	}

	public void setErpOrderId(Long erpOrderId) {
		this.erpOrderId = erpOrderId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReturnReason() {
		return returnReason;
	}

	public void setReturnReason(String returnReason) {
		this.returnReason = returnReason;
	}

	public String getReturnReasonDetail() {
		return returnReasonDetail;
	}

	public void setReturnReasonDetail(String returnReasonDetail) {
		this.returnReasonDetail = returnReasonDetail;
	}

	public Long getReturnQuantity() {
		return returnQuantity;
	}

	public void setReturnQuantity(Long returnQuantity) {
		this.returnQuantity = returnQuantity;
	}

	public Double getReturnPrice() {
		return returnPrice;
	}

	public void setReturnPrice(Double returnPrice) {
		this.returnPrice = returnPrice;
	}

	public Integer getIsGn() {
		return isGn;
	}

	public void setIsGn(Integer isGn) {
		this.isGn = isGn;
	}

	public Integer getIsCheckin() {
		return isCheckin;
	}

	public void setIsCheckin(Integer isCheckin) {
		this.isCheckin = isCheckin;
	}

	public String getUserCreate() {
		return userCreate;
	}

	public void setUserCreate(String userCreate) {
		this.userCreate = userCreate;
	}

	public String getUserModify() {
		return userModify;
	}

	public void setUserModify(String userModify) {
		this.userModify = userModify;
	}

	public Date getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

	public Date getReturnPayTime() {
		return returnPayTime;
	}

	public void setReturnPayTime(Date returnPayTime) {
		this.returnPayTime = returnPayTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Integer getReturnRefer() {
		return returnRefer;
	}

	public void setReturnRefer(Integer returnRefer) {
		this.returnRefer = returnRefer;
	}

	public String getProofImg() {
		return proofImg;
	}

	public void setProofImg(String proofImg) {
		this.proofImg = proofImg;
	}

	public Integer getReturnType() {
		return returnType;
	}

	public void setReturnType(Integer returnType) {
		this.returnType = returnType;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}

	public String getUpc() {
		return upc;
	}

	public void setUpc(String upc) {
		this.upc = upc;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getSkuPic() {
		return skuPic;
	}

	public void setSkuPic(String skuPic) {
		this.skuPic = skuPic;
	}
	
	public String getSalesName() {
		return salesName;
	}

	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	
	
}
